package io.itit.ecp.admin.server.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.itit.grass.common.server.entity.BaseTenantEntity;
import lombok.Data;
import lombok.ToString;


/**
 * <p>
 *
 * @Author：Roy
 * @Description：计量设备管理
 * @Date：Create by 2023-11-30 18:51:39
 */
@Data
@ToString
@TableName("ecp_tt_meter_device")
public class MeterDeviceEntity extends BaseTenantEntity {

    private static final long serialVersionUID = 1L;

    /* 设备编码 */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String deviceCode;

    /* 设备名称 */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String deviceName;

    /* 设备类型(1:物联网设备,2:非物联网设备) */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String deviceType;

    /* 当前状态(1:在线,2:离线) */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String deviceStatus;

    /* 计量类型(1:电表,2:水表,3:冷表) */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String meterType;

    /* 项目id */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String sceneProjectId;

    /* 楼栋id */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String sceneEdificeId;

    /* 楼层id */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String sceneFloorId;

    /* 空间id */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String sceneRoomId;

    /* 读表类型(11:光伏电表,12:储能电表,13:用电电表,21:用水水表,22:消防水表,31:用冷冷表) */
    private String readMeterType;

    /* 能源类型id */
    private String energyTypeId;

    /* 读表标识(1:总表,2:分表) */
    private String readMeterTag;

    /* 是否重点关注设备(1:重点关注设备,2:非重点关注设备) */
    private String isFocus;

    /**
     * 统计产品类型
     */
    private String productTypeId;

    /**
     * 统计类型
     */
    private String staticsType;

    /**
     * 设备id
     */
    private String deviceId;

    /**
     * 关联参数id
     */
    private String modelId;

    /* 用途 */
    private String purpose;

    /* 启用状态(1:启用,2:禁用) */
    private String status;

    /* 删除标识(1:未删除,2:已删除) */
    private String delFlag;

    /* 机构Id */
    private String deptId;

}
